<div class="main">
<div class="body">
  <div id="menu">
    <a href="/log" class="on"><?php echo $lang['menu_log']; ?></a>
  </div>
  <div id="list">
  <div class="mid" id="tabs"></div>
  <table class="list" id="game">
    <tr class="head">
      <td><?php echo $lang['field_username']; ?></td><td><?php echo $lang['field_log_content']; ?></td>
      <td><?php echo $lang['field_log_type']; ?></td><td><?php echo $lang['field_create_time']; ?></td>
    </tr>
    <?php
	if($list){
		foreach($list as $k=>$v){
	?>
    <tr>
      <td><?php echo $v->username; ?></td>
      <td><?php echo $v->log_content; ?></td>
      <td><?php echo $v->log_type; ?></td>
      <td><?php echo $v->create_time; ?></td>      
    </tr>
    <?php
		}
	}
	?>          
  </table>
  <div class="pager mid"><?php echo $pager; ?></div>
  </div>
</div>
</div>